var furniture_codes = [
	"<%= @codes.join('","')%>"
];
$().ready(function() {
	$("#<%= params[:js_object_id]%>").autocomplete(furniture_codes);	
});
